package com.hzlj.position.locate.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fz.common.base.core.JacksonTypeHandlerIgnoreNull;
import com.hzlj.position.locate.common.common.PositionSimpleDTO;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 通信联络核查-核查-纠偏配置(ReportInspectionCorrectConfig)实体类
 *
 * @author lifh
 * @since 2023-07-31 13:56:46
 */
@Data
@ToString
@TableName(value="report_inspection_correct_config",autoResultMap = true)
public class ReportInspectionCorrectConfig {
    /**
    * 主键
    */
    @TableId(type = IdType.INPUT,value = "id")
    private String id;
    /**
    * 矫正人员ID(jz_jbxx)
    */
    @TableField(value = "jz_id")
    private String jzId;
    /**
    * 被纠偏位置,json-PositionSimpleDTO
    */
    @TableField(value = "correct_original_position",typeHandler = JacksonTypeHandlerIgnoreNull.class)
    private PositionSimpleDTO correctOriginalPosition;
    /**
    * 纠偏后的位置,json-PositionSimpleDTO
    */
    @TableField(value = "correct_position",typeHandler = JacksonTypeHandlerIgnoreNull.class)
    private PositionSimpleDTO correctPosition;
    /**
    * 是否有效
    */
    @TableField(value = "valid")
    private Boolean valid;
    /**
    * 更新时间
    */
    @TableField(value = "update_time")
    private Date updateTime;
    /**
    * 更新人
    */
    @TableField(value = "updater_uid")
    private String updaterUid;
    /**
    * 更新人姓名
    */
    @TableField(value = "updater_name")
    private String updaterName;
    /**
    * 创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;
    /**
    * 创建人
    */
    @TableField(value = "creator_uid")
    private String creatorUid;
    /**
    * 更新人姓名
    */
    @TableField(value = "creator_name")
    private String creatorName;
}
